public class HelloJava {

    public void  s(){
        System.out.println("ssss");
    }
    public static void main(String[] args) {
        System.out.println("hello world!");
        int j =  10;
        switch (j){
            case 100:
                System.out.println(100);
                break;
            case 99:
                System.out.println("dd");
                break;
            default:
                System.out.println("jjj");
                break;
        }
        int[] numbers = {1,2,4,5,7,8};
        for (int n :
                numbers) {
            System.out.println(n);
        }
        int i = Integer.parseInt("123");
        int i1 = Integer.valueOf("2").intValue();
        int a = 100;
        byte b = 127;
        int c = a + b;
        short d = 300;
        int e = a + d;
        int  f = b + d;
        char k = 'y';
        int z = k + 1;
        char zz = (char)z;
        System.out.println("zz = " + zz);
        int m = k + d;
        System.out.println(m);
        float ff = 1.9f;
        int fi = (int) ff;
        System.out.println(fi);

        String names = "yelong.yeweixin.fengcongcong";
        String[] split = names.split("\\.");
        for (String name :
                split) {
            System.out.println(name);
        }

        String str = "wowman";
        String str2 = "yelong";
        str = str + str2;
        System.out.println(str);
    }

}
